package com.spzx.JUC1.test1;

public class myThread  extends Thread{

    @Override
    public void run() {
        for(int x =0; x<100;x++){

            Thread.currentThread().setName("mask");
            System.out.println("线程："+Thread.currentThread().getName()+"  "+x);
        }

    }

}
